/*
 * TextListener.h
 *
 *  Created on: 2012-9-8
 *      Author: yangentao@gmail.com
 */

#ifndef TEXTLISTENER_H_
#define TEXTLISTENER_H_
#include "../dep.h"
class TextListener {
	friend class TextBuffer;
public:
	virtual ~TextListener();
	virtual void onTextReplaced(int from, const String& removeText, const String& insertText)=0;
};


#endif /* TEXTLISTENER_H_ */
